package org.linlinjava.litemall.admin.vo.order_manage;

import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

/**
 * @author wj
 * @date 2021/6/2 15:28
 */
public class ModifyRefundMoneyVo {

    /**
     * 退款订单id
     */
    @NotNull(message = "退款订单id不能为空")
    private Integer orderId;

    /**
     * 退款金额
     */
    @NotNull(message = "退款金额不能为空")
    private BigDecimal refundAmount;

    public ModifyRefundMoneyVo() {
    }

    public ModifyRefundMoneyVo(Integer orderId, BigDecimal refundAmount) {
        this.orderId = orderId;
        this.refundAmount = refundAmount;
    }

    public Integer getOrderId() {
        return orderId;
    }

    public void setOrderId(Integer orderId) {
        this.orderId = orderId;
    }

    public BigDecimal getRefundAmount() {
        return refundAmount;
    }

    public void setRefundAmount(BigDecimal refundAmount) {
        this.refundAmount = refundAmount;
    }
}
